Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NVScrollItemsBase<T> Class / GetLastVisibleItemIndex Method


In This Topic
    GetLastVisibleItemIndex Method (NVScrollItemsBase<T>)
    In This Topic
    Given an Y coordinate in viewport coordinates, returns the index of the last visible item in the scrollbable items list.
    Syntax
    'Declaration
     
    
    Protected MustOverride Function GetLastVisibleItemIndex( _
       ByVal y As System.Double _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NVScrollItemsBase(Of T)
    Dim y As System.Double
    Dim value As System.Integer
     
    value = instance.GetLastVisibleItemIndex(y)
    protected abstract System.int GetLastVisibleItemIndex( 
       System.double y
    )

    Parameters

    y
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also